package com.walter.model.vo;

import com.walter.entity.User;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * @author ：ch
 * @date ：Created in 2021/5/25
 * @description：
 * @modified By：
 * @version: 1.0
 */
@Data
@Accessors(chain = true)
@NoArgsConstructor
public class UserVO extends UserInfoVO{
    @ApiModelProperty("创建时间")
    private Date createTime;

    @ApiModelProperty("最后密码修改时间")
    private Date lastUpdatePassTime;

    @ApiModelProperty("更新时间")
    private Date updateTime;

    public UserVO(User user){
        super(user);
    }
}
